package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.PushManageTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author 刘国航
 * @since 2024/6/4 9:50
 */
@Data
public class PushManageVo {

    @ApiModelProperty("标签id")
    private Long id;

    @ApiModelProperty("推送标题")
    private String pushTitle;

    @ApiModelProperty("推送内容")
    private String pushContent;

    @ApiModelProperty("推送图标")
    private String pushIcon;

    @ApiModelProperty("推送类型")
    private PushManageTypeEnum pushType;

    @ApiModelProperty("是否开启定时推送")
    private Boolean enableSchedulePush;

    @ApiModelProperty(value = "设置定时推送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date schedulePushTime;

    @ApiModelProperty("状态  1：上架 0：下架")
    private Boolean status;

    @ApiModelProperty("推送标签id列表")
    private List<Long> pushTagIdList;

}
